package com.jpx.jxcbiz.service.impl;

import com.jpx.jxcbiz.entity.TPurchaseListGoods;
import com.jpx.jxcbiz.mapper.TPurchaseListGoodsMapper;
import com.jpx.jxcbiz.service.ITPurchaseListGoodsService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
@Service
public class TPurchaseListGoodsServiceImpl extends ServiceImpl<TPurchaseListGoodsMapper, TPurchaseListGoods> implements ITPurchaseListGoodsService {

    @Autowired
    TPurchaseListGoodsMapper purchaseListGoodsMapper;

    @Override
    public List<TPurchaseListGoods> selectGoodsById(Integer purchaseListId) {
        return purchaseListGoodsMapper.selectGoodsById(purchaseListId);
    }
}
